rendernodepaintable: Don't try to snapshot 0×0 nodes
authorTimm Bäder <mail@baedert.org>
Sun, 13 Jan 2019 06:23:10 +0000 (07:23 +0100)
committerTimm Bäder <mail@baedert.org>
Sun, 13 Jan 2019 07:39:05 +0000 (08:39 +0100)
commit69bc42f44441bd0f71a496faa5379a588ad52aac
treef74211f9f10e711862c15a6a9045704a11631b13
parent269535c844e9a6fdc1286472e72c0d1f8ff3123c
rendernodepaintable: Don't try to snapshot 0×0 nodes

Considering the operations that some of the rendernode constructors
do, nodes with width or height 0 (or both of course) are very well
possible. This would break in the rendernodepaintable when adding a
transform, which divides by width/height of the rendernode.
gtk/gtkrendernodepaintable.c